﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FilStartUps_News.ascx.cs"
    Inherits="FilStartUps.Controls.FilStartUps_News" %>
<asp:Panel ID="plNews" runat="server">
<%--    <div id="sidebar_home">--%>
        <ul class="tmo_list">
           
                <asp:DataList ID="dlFilStartUpsNews" runat="server" RepeatColumns="1" OnItemCommand="dlFilStartUpsNews_ItemCommand">
                    <HeaderTemplate>
                      <%--  <div id="sidebar_title">  </div>--%>
                            <h2>
                               Latest News  <asp:ImageButton ID="btnrss" OnClick="btnrss_Click" runat="server" ImageUrl="~/Content/images/feed-icon.png"></asp:ImageButton>
                       </h2> 
                            
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="postidPK" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "postidPK") %>'
                            Visible="false">
                        </asp:Label>
                        <li>
                            <asp:Label runat="server" ID="postdatecreated" Text='<%# ConvertDate(DataBinder.Eval(Container.DataItem, "datecreated").ToString()) %>'>
                            </asp:Label>
                            <asp:LinkButton ID="posttitle" runat="server" CommandName="SelectRow" Text='<%# DataBinder.Eval(Container.DataItem, "posttitle") %>'>
                            </asp:LinkButton>
                        </li>
                        <br />
                        <%-- <!-- POSTDESCRIPTION-->
                    <asp:Literal ID="postdescription" runat="server"
                                 Text='<%# Truncate(DataBinder.Eval(Container.DataItem, "postdescription").ToString()) %>'>
                    </asp:Literal>--%>
                    </ItemTemplate>
                </asp:DataList>
           
        </ul>
 <%--   </div>--%>

</asp:Panel>
